ChinaPayments\Migration S

Total Complexity 44
Dependencies 2
Dependents 3
Total lines 258
Lines of code 170
Logical lines of code 94
Comment lines 10
Methods 13
Properties 8

Methods 13

Method Rating Maintainability Complexity Lines of code
_migrate_to_version()
A
48 8 32
_plugin_activation_hook()
S
53 6 24
fix_table_structure()
S
53 6 24
migrate_to_version()
S
56 5 16
is_valid_table_structure()
S
60 4 13
setup()
S
64 3 10
get_current_migration_version()
S
67 3 8
get_table_structure()
S
58 1 19
instance()
S
71 2 6
can_run_in_background()
S
72 2 6
handle_migration_in_background()
S
70 2 6
get_table_list()
S
80 1 3
is_migration_required()
S
79 1 3